package com.example.entity.item;

import com.example.entity.user.Room;

public class CartItem {
    private Carts cart;
    private Items item;
    private Room room;

    public CartItem(Carts cart, Items item,Room room){
        this.cart=cart;
        this.item=item;
        this.room=room;
    }

    public Carts getCart() {
        return cart;
    }

    public void setCart(Carts cart) {
        this.cart = cart;
    }

    public Items getItem() {
        return item;
    }

    public void setItem(Items item) {
        this.item = item;
    }

    public Room getRoom() {
        return room;
    }

    public void setRoom(Room room) {
        this.room = room;
    }

    @Override
    public String toString() {
        return "CartItem{" +
                "cart=" + cart +
                ", item=" + item +
                ", room=" + room +
                '}';
    }
}
